set(libname bookshelf)
set(exename exe_iterator)
set(headerpath ${CMAKE_CURRENT_SOURCE_DIR}/headers)
include_directories(${headerpath})

add_library(${libname} SHARED
    ${CMAKE_CURRENT_SOURCE_DIR}/bookshelf.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/bookshelf_iterator.cpp
)

add_executable(${exename} main.cpp)
target_link_libraries(${exename} PRIVATE ${libname})
